package com.xpgk.mvc.detailAnnounce;

import java.util.HashMap;
import java.util.Map;

import com.jfinal.log.Log;
import com.xpgk.annotation.Table;
import com.xpgk.mvc.base.BaseModel;
import com.xpgk.mvc.dept.Department;
import com.xpgk.mvc.deptStation.DeptStation;
import com.xpgk.mvc.organization.Organization;
import com.xpgk.plugin.ParamInitPlugin;
import com.xpgk.tools.ToolCache;

/**
 * 通知公告model
 * DetailAnnounce_user
 * 
 */
@SuppressWarnings("unused")
@Table(tableName = DetailAnnounceUser.table_name)
public class DetailAnnounceUser extends BaseModel<DetailAnnounceUser> {

	private static final long serialVersionUID = 6761767368352810428L;

	private static final Log log = Log.getLog(DetailAnnounceUser.class);

	public static final DetailAnnounceUser dao = new DetailAnnounceUser().dao();

	/**
	 * 表名称
	 */
	public static final String table_name = "sys_detail_announce_user";

	/**
	 * 字段描述：该条数据添加人员is  字段类型：character varying 长度：32
	 */
	public static final String column_createId = "createId";
	/**
	 * 字段描述：该条数据添加时间  字段类型：datetime 长度：0
	 */
	public static final String column_createDate = "createDate";
	/**
	 * 字段描述：该条数据更新人员id  字段类型：character varying 长度：100
	 */
	public static final String column_updateId = "updateId";
	/**
	 * 字段描述：该条数据更新时间  字段类型：datetime 长度：0
	 */
	public static final String column_updateDate = "updateDate";
	
	/**
	 * 字段描述：主键 字段类型：character varying 长度：32
	 */
	public static final String column_ids = "ids";

	/**
	 * 字段描述：通知公告id 字段类型：character varying 长度：50
	 */
	public static final String column_detailId = "detailId";
	/**
	 * 字段描述：发送人id 字段类型：character varying 长度：50
	 */
	public static final String column_userId = "userId";

	/**
	 * 字段描述：公告标题 字段类型：character varying 长度：500
	 */
	public static final String column_title = "title";

	/**
	 * 字段描述：是否读取   0 未读  1  已读  字段类型：character varying 长度：500
	 */
	public static final String column_type = "type";
	/**
	 * 字段描述：用户机构id 字段类型：character varying 长度：25
	 */
	public static final String column_organizationIds = "organizationIds";


	/**
	 * 字段描述：发送时间   字段类型：Date 
	 */
	public static final String column_postDate = "postDate";

	/**
	 * sqlId 描述：查询是否使用
	 */
	public static final String sqlId_findByUserId = "sys.detailAnnounceUser.findByUserId";
	/**
	 * sqlId 描述：根据上级节点id查询子节点数量
	 */
	public static final String sqlId_updateDAUByUidDid = "sys.detailAnnounceUser.updateDAUByUidDid";
	
	

}
